/*
============================================================================
 Name        : IMEIReader.h
 Author      : 
 Version     :
 Copyright   : Your copyright notice
 Description : CIMEIReader declaration
============================================================================
*/

#ifndef IMEIREADER_H
#define IMEIREADER_H

#include <Etel3rdParty.h>


class MIMEIObserver
{
public:	
	virtual void GotIMEIL(const TDesC& aIMEI,TInt aError) = 0;
};

class CIMEIReader : public CActive
{
public:
	static CIMEIReader* NewL(MIMEIObserver* aObserver);
	static CIMEIReader* NewLC(MIMEIObserver* aObserver);
	~CIMEIReader();

protected:	
	void DoCancel();
	void RunL();

private:
	CIMEIReader(MIMEIObserver* aObserver);
	void ConstructL(void);

private:
	MIMEIObserver* 	iObserver;
	CTelephony* iTelephony;
	CTelephony::TPhoneIdV1 	iIdV1;    
	CTelephony::TPhoneIdV1Pckg iIdV1Pkg;
};

#endif
